import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

import Home  from  '../views/Home.vue'
import Second  from  '../views/Second.vue'

const routes = [
  {
    path:'/',
    component:Home
  },
  {
    path:'/second',
    component:Second
  }
]

const router = new VueRouter({
  routes
})

export default router
